<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"
    />
    <title>Sewise Player</title>
</head>

<body>
     <!-- <div style="width: 640px; height: 480px; ">
        <script type="text/javascript" src="./player/sewise.player.min.js?server=live&type=rtmp&streamurl=rtmp://live.hkstv.hk.lxdns.com/live/hks&autostart=true&buffer=5&lang=zh_CN"></script>
    </div> -->

<div id="container1">
</div>
<div id="container2">
</div>




</body>

</html>
        <script src="jquery-3.1.1.min.js"></script>
 <script type="text/javascript" src="./player/sewise.player.min.js"></script> 
<script>
    var config = {
        elid: "container1", //包裹播放器的div容器ID属性值 
        autostart: true,
        url: "rtmp://live.hkstv.hk.lxdns.com/live/hks",
        duration: 3600,
        skin: "liveWhite"
    };

    var player = new Sewise.SewisePlayer(config)
  console.log(player);
</script>